<?

	if($gid == "") {
		$gid = $dsfm_shop->get_min();
	}

	$all_shop = $dsfm_shop->get_all_shop();
	$all_shop = $dsfm_localization->data($all_shop, array("shop","detail"));
	$tpl->assign("all_shop", $all_shop);

	$shop = $dsfm_shop->get_shop($gid);
	$shop = $dsfm_localization->object($shop, array("shop","detail"));
	$tpl->assign("shop", $shop);

	$all_picture = $dsfm_shop->get_all_picture($gid);
	$tpl->assign("all_picture", $all_picture);

	$tpl->draw("shop");
?>